package io.renren.common.config;


import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "prefix")
public class EbpConfig {

    /**
     * 获取ftpurl数据
     */
    @Value("${ebpConfig.ftpUrl}")
    private String ftpUrl;
    /**
     * 获取ftpPoint数据
     */
    @Value("${ebpConfig.ftpPoint}")
    private int ftpPoint;
    /**
     * 获取ftpPath数据
     */
    @Value("${ebpConfig.ftpPath}")
    private String ftpPath;
    /**
     * 获取ftpUserName数据
     */
    @Value("${ebpConfig.ftpUserName}")
    private String ftpUserName;
    /**
     * 获取ftpPassword数据
     */
    @Value("${ebpConfig.ftpPassword}")
    private String ftpPassword;
    /**
     * 获取fileServerUrl数据
     */
    @Value("${ebpConfig.fileServerUrl}")
    private String fileServerUrl;


    public String getFtpUrl() {
        return ftpUrl;
    }

    public void setFtpUrl(String ftpUrl) {
        this.ftpUrl = ftpUrl;
    }

    public int getFtpPoint() {
        return ftpPoint;
    }

    public void setFtpPoint(int ftpPoint) {
        this.ftpPoint = ftpPoint;
    }

    public String getFtpPath() {
        return ftpPath;
    }

    public void setFtpPath(String ftpPath) {
        this.ftpPath = ftpPath;
    }

    public String getFtpUserName() {
        return ftpUserName;
    }

    public void setFtpUserName(String ftpUserName) {
        this.ftpUserName = ftpUserName;
    }

    public String getFtpPassword() {
        return ftpPassword;
    }

    public void setFtpPassword(String ftpPassword) {
        this.ftpPassword = ftpPassword;
    }

    public String getFileServerUrl() {
        return fileServerUrl;
    }

    public void setFileServerUrl(String fileServerUrl) {
        this.fileServerUrl = fileServerUrl;
    }
}
